package com.huluobo.user

import com.huluobo.lib_base.UIIntent
import com.huluobo.lib_base.entity.User

/**
 *  Created by LC on 2025/2/10.
 */
sealed class UserIntent : UIIntent {
    data class register(val user: User) : UserIntent()
    data class login(val username: String, val password: String, val role: String) : UserIntent()
    data class addEmployee(val map: Map<String, Any>) : UserIntent()
    data class loginNetwork(val map: Map<String, Any>) : UserIntent()
    data class addApprove(val map: Map<String, Any>) : UserIntent()
    data object getApproves : UserIntent()
    data class approve(val map: Map<String, Any>) : UserIntent()
}
